const Webpack = require("webpack");
const webpackConfig = require("../config/webpack.prod");
const path = require("path");
const fs = require("fs-extra");

module.exports = (cb) => {
  const compiler = Webpack(webpackConfig);
  compiler.run(cb);
};
